package com.atguigu.spzx.feign.product.fallback;

import com.atguigu.spzx.feign.product.ProductFeignClient;
import com.atguigu.spzx.model.dto.product.SkuSaleDto;
import com.atguigu.spzx.model.entity.product.ProductSku;
import lombok.extern.slf4j.Slf4j;

import java.util.List;

@Slf4j
public class ProductFeignClientFallback implements ProductFeignClient {
    @Override
    public ProductSku getBySkuId(Long skuId) {
        return null;
    }

    @Override
    public Boolean updateSkuSaleNum(List<SkuSaleDto> skuSaleDtoList) {
        log.info("ProductFeignClientFallback...updateSkuSaleNum的方法执行了");
        return false ;
    }
}
